package com.ruyuan.commodity.enums;

/**
 * redisson 锁前缀
 **/
public enum RedissonLockEnums {

    /**
     * 商品详情的锁前缀
     */
    GOODS_DETAIL_LOCK_PREFIX("GOODS_DETAIL_LOCK_PREFIX_"),
    ;

    /**
     * 锁前缀
     */
    private String key;

    RedissonLockEnums(String key) {
        this.key = key;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

}
